'use strict';

const Controller = require('egg').Controller;

class TianMaoController extends Controller {
  async index() {
    const { ctx } = this;
    let operType = ctx.request.query.operType;
    let body = await ctx.service.tianmao.doService({operType:operType});
    ctx.body =  body;
  }
}

module.exports = TianMaoController;